GXNewStyle
You can use theGXNewStyle
function to create a new style object with default properties.
gxStyle GXNewStyle(void);
- function result
- A reference to a newly created copy of the default style object.
DESCRIPTION
TheGXNewStyle
function creates a style object with an owner count of 1. All other properties of the style are set to their default values:
All other properties are zero or
- An empty tag list.
- An owner count of 1.
- A text size of 12.0.
- A scale value within the dash property of 1.0.
- No font specified.
nil
.SPECIAL CONSIDERATIONS
If no error occurs, theGXNewStyle
function creates a style object; you are responsible for disposing of that object when you no longer need it.ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory SEE ALSO
Default style values are described in the section "The Default Style Object" on page 3-6.